Make toggle cell renderer follow insensitive state of widget
authorKristian Rietveld <kris@gtk.org>
Fri, 4 Sep 2009 11:21:26 +0000 (13:21 +0200)
committerKristian Rietveld <kris@gtk.org>
Fri, 4 Sep 2009 12:06:58 +0000 (14:06 +0200)
commit4f219692ed25e2405be4302738c8c867af9094d8
tree26c592012a8ba9924be6d6fb3b55ff1246df0a40
parent6f20cf691ed473228b49912096a31a112ffecee9
Make toggle cell renderer follow insensitive state of widget

Likewise to other cell renderers, GtkCellRendererToggle now properly
follows the insensitive state of the widget requesting rendering.  It
does this by checking the state of the widget pointer, not by using
GtkCellRendererFlags (there exists an insensitive flags).  Later on, I
think we should move to using GtkCellRendererFlags and not the state of
the widget requesting rendering.  Patch merged from maemo-gtk.
gtk/gtkcellrenderertoggle.c